SuperStrict

Import arm.box2d

Local rot:b2Rot = New b2Rot

Print "Degrees: " + rot.GetAngle() + " | Radian: " + rot.GetAngleRad()
Print "Sin: " + rot.GetSinus() + " | Cos: " + rot.GetCosinus()
Print "X Axis: [" + rot.GetXAxis().X() + "," + rot.GetXAxis().Y() + "] | Y Axis: [" + rot.GetYAxis().X() + "," + rot.GetYAxis().Y() + "]"
Print ""

Local rot2:b2Rot = New b2Rot.Create(90.0)

Print "Degrees: " + rot2.GetAngle() + " | Radian: " + rot2.GetAngleRad()
Print "Sin: " + rot2.GetSinus() + " | Cos: " + rot2.GetCosinus()
Print "X Axis: [" + rot2.GetXAxis().X() + "," + rot2.GetXAxis().Y() + "] | Y Axis: [" + rot2.GetYAxis().X() + "," + rot2.GetYAxis().Y() + "]"
Print ""

Local rot3:b2Rot = New b2Rot
rot3.Set(45.0)

Print "Degrees: " + rot3.GetAngle() + " | Radian: " + rot3.GetAngleRad()
Print "Sin: " + rot3.GetSinus() + " | Cos: " + rot3.GetCosinus()
Print "X Axis: [" + rot3.GetXAxis().X() + "," + rot3.GetXAxis().Y() + "] | Y Axis: [" + rot3.GetYAxis().X() + "," + rot3.GetYAxis().Y() + "]"
Print ""

Local rot4:b2Rot = New b2Rot.CreateRad(1.0)

Print "Degrees: " + rot4.GetAngle() + " | Radian: " + rot4.GetAngleRad()
Print "Sin: " + rot4.GetSinus() + " | Cos: " + rot4.GetCosinus()
Print "X Axis: [" + rot4.GetXAxis().X() + "," + rot4.GetXAxis().Y() + "] | Y Axis: [" + rot4.GetYAxis().X() + "," + rot4.GetYAxis().Y() + "]"
